Skip to main content

Create Zip file

Description

Create Zip File compresses one or more source files or directories into a standard ZIP archive. Use this process entry when your process needs to bundle files for delivery, archival, or storage optimization — for example, zipping report files before an FTP upload or compressing log files at the end of a daily batch run. It supports configurable compression levels and path preservation options.

Configurations

Field NameDescription
Process Entry nameSpecify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
Source Files:
Get arguments from previousThis checkbox takes the filename specification from the result rows of a previous process entry. This is what will be taken from the rows The first field has to contain the filename or folder. The second field should contain the inclusion wildcard The third field should contain the exclusion wildcard The fourth field should contain the target zip file (this can be different for each file)
Source Directory/FileThe source directory of the files to be zipped
Include Wildcard(RegExp)The wildcard (regular expression) of the files to include in the zip archive
Exclude Wildcard(RegExp)The wildcard (regular expression) of the files to exclude from the zip archive
Include sub-folders?Enable this option to search files in sub-folders
Zip File:
Zip file nameThe full name of the destination archive
Create parent folderCreate the parent folder if it doesn't exist
Include date in filenameAdd the date to the file name
Include time in filenameAdd the time to the file name
Specify date time formatAllows you to specify the date/time format mask,
Date time formatThe date time format mask, like yyyy/MM/dd HHmmss
Show filenameShows an example filename based on the options you specified
Advanced Tab
Advanced:
CompressionThe compression level to be used (Default, Best Compression, Best speed)
If zip file exists?The action to take when there already is a file at the target destination.
After zippingThe action to take after zipping
Move files toThe target directory to move the source files to after zipping
Create folderCreate the folder to move to
Stored source path depthThis is the part of the source file path which is taken over in the ZIP file archive structure:

0: /process-studio/work/transfer/input/project/file.txt 1: file.txt

2: project/file.txt

3: input/project/file.txt

4: transfer/input/project/file.txt

5: work/transfer/input/project/file.txt

6: process-studio/work/transfer/input/project/file.txt

7: process-studio/work/transfer/input/project/file.txt

8: process-studio/work/transfer/input/project/file.txt

Result file name:
Add zip file to resultEnable this option to add the target zip file(s) to the result